@extends('admin.common.list')
@section('content')


<section class="Hui-article-box">
	<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 管理员管理 <span class="c-gray en">&gt;</span> 登录列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
		
	<div class="Hui-article">
		<article class="cl pd-20">
			

			<div class="cl pd-5 bg-1 bk-gray mt-20"> 
			
				<span class="r">共有数据：<strong>{{$count}}</strong> 条</span> </div>
			<div class="mt-10">
				<table class="table table-border table-bordered table-bg table-sort">
					<thead>
						<tr class="text-c">
							<th width="70">ID</th>
							<th width="70">管理员ID</th>
							<th width="70">管理员账号</th>
							<th width="70">登录ip</th>
							<th width="70">登录地址</th>
							<th width="70">登录时间</th>
							<th width="70">登录浏览器</th>
							<th width="70">操作系统</th>
							<th width="70">语言</th>
							<th width="70">设备名称</th>
							<th width="70">设备类型</th>
						</tr>
					</thead>
					<tbody>
						@foreach($loginLogList as $k => $v)
						<tr class="text-c">
							<td>{{$v['id']}}</td>
							<td>{{$v['user_id']}}</td>
							<td>{{$v->admin->account}}</td>
							<td>{{$v['ip']}}</td>
							<td>{{$v['address']}}</td>
							<td>{{$v->loginTime()}}</td>
							<td>{{$v['browser']}}</td>
							<td>{{$v['platform']}}</td>
							<td>{{$v['language']}}</td>
							<td>{{$v['device']}}</td>
							<td>{{$v['device_type']}}</td>
						</tr>
						@endforeach
					</tbody>
				</table>
				{{$loginLogList->render() }}
			</div>
		</article>
	</div>
</section>


@endsection